import React, { Component } from 'react'
import { home } from '../api/index';
export default class Study extends Component {
    public render(): React.ReactNode {
        return (
            <div className="study">
                学习
                <button onClick={() => {
                    home('xuexi').then((res) => {
                        console.log(res);

                    })
                }}>dianji</button>
            </div>
        )
    }
}
